<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>display显示隐藏元素</title>
    <style>
        .x{
            display:none; 
            width: 200px;
            height: 200px;
            background-color: blue;
        }
        .xx{
            width: 200px;
            height: 200px;
            background-color: skyblue;
        }
    </style>
</head>
<body>
    <div class="x"></div>
    <div class="xx"></div>
</body>
</html>